package com.yc.jpyy.discre.service;

import java.sql.Date;
import java.util.List;
import java.util.Map;


import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;
import com.yc.jpyy.base.util.PageBean;

public interface DiscreService {

	int addDiscreService(Map<String, Object> paramsMap) throws DataAccessException;

	int updateDiscreService(Map<String, Object> paramsMap) throws DataAccessException;

	
	int delforUpdateDiscreService(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findDiscreByIDServer(Map<String, Object> paramsMap) throws DataAccessException;
	
	//分页查询
    PageBean findDiscreService(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findCountDiscreService(Map<String, Object> paramsMap)throws DataAccessException;
    
    List<Map<String, Object>> findDiscreByCodeTypeService(Map<String, Object> paramsMap)throws DataAccessException;
    
    int findSonDiscre(Map<String, Object> paramsMap)throws DataAccessException;
    
}